<template>
    <base-page>
		<view slot="header">
			<!-- #ifdef MP-WEIXIN -->
			<cu-custom :isBack="true" bgColor="bg-white">
			    <block slot="content">提现流程</block>
			</cu-custom>
			<!-- #endif -->
			<!-- #ifdef H5 -->
			<block>
			    <cu-custom :isBack="true" bgColor="bg-white">
			        <block slot="content">提现流程</block>
			    </cu-custom>
			</block>
			<!-- #endif -->
		</view>
        <view slot="center" class="auto-100 ">
            
            <view class="section">
                <view class="logo">
                    <image src="https://toc.nanyuecloud.com/toc-inst-app/zqanswer/test/img/xmg/wallet/sus.png">
                </view>
                <view class="txt">提交成功</view>
                <text>预计1~3个工作日之内到账，请耐心等待！</text>
                <view class="btn bg-gradual-orange round" @click="isNativeBack">确定</view>
            </view>
        </view>
    </base-page>
</template>

<script>
export default {
    data() {
        return {
			pagesLen: 0 //页面栈数量
        };
    },
    onLoad(e) { },
    onShow(e) { 
	},
	mounted(){
		this.pagesLen = getCurrentPages().length;
	},
    methods: {
		isNativeBack() {
			if (this.pagesLen == 1) {
				this.$Sdk.exit();
			} else {
				uni.navigateBack({
					delta: 1
				});
			}
		},
    },
    mounted() { }
};
</script>

<style lang="scss">
.section {
    text-align: center;
    image {
        width: 100%;
        height: 100%;
    }
    .logo {
        margin: 10px auto;
        width: 40px;
        height: 40px;
    }
    .txt {
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: bold;
        color: #222222;
    }
    > text {
        font-size: 12px;
        color: #999999;
    }
    .btn {
        margin: 30px auto;
        width: 60%;
        padding: 10px 0;
        text-align: center;
        font-size: 16px;
    }
}
</style>
